package net.zoneland.knowledge.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.zoneland.knowledge.dao.PartyCalendarTodayMapper;
import net.zoneland.knowledge.model.PartyCalendarToday;
import net.zoneland.knowledge.service.PartyCalendarTodayService;

/**
 * 党史今日查询服务实现.
 * @author bcc
 */
@Service
public class PartyCalendarTodayServiceImpl implements PartyCalendarTodayService {

    @Autowired
    private PartyCalendarTodayMapper partyCalendarTodayMapper;

    @Override
    @Transactional(readOnly = true)
    public PartyCalendarToday queryByDateString(final String monthDate) {
        return partyCalendarTodayMapper.queryByDateString(monthDate);
    }

}
